/**
 * 功能描述  基本信息表单
 */

define(function (require, exports, module) {
	var Form = require("form");
	
    var instance = {
        initComponent: function (widget) {
        	var form = new Form({
        		parentNode:"#basicInformation",
        		model:{
        			id: "form",
                    defaultButton : false,
        			items:[{
        				name: "pkCIImplement",
        				type: "hidden"
        			},{
        				name: "version",
        				type: "hidden"
        			},{
        				name:"name",
        				label:"组团单位/预约人",
        				readonly:true
        			},{
        				name:"destination",
        				label:"目的地",
        				readonly:true
        			},{
        				name:"checkInDate",
        				label:"入住日期",
        				type:"date",
        				readonly:true
        			},{
        				name:"checkOutDate",
        				label:"退住日期",
        				type:"date",
        				readonly:true
        			},{
        				name:"signUpNum",
        				label:"报名人数",
        				readonly:true
        			},{
        				name:"description",
        				label:"备注",
        				readonly:true
        			}]
        		}
        	});
        	widget.set("ciiBaseForm", form);
        }
    };
    module.exports = instance;
});
